package at.fhj.routenplaner;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;

public class KartenActivity extends Activity implements OnClickListener {
    /** Called when the activity is first created. */
    

    
    
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.karte);

        Log.i("MAIN", "call: does..not!..work..in the emulator?!");
        Intent intent = new Intent(Intent.ACTION_DIAL);
        intent.setData(Uri.parse("tel:(++43) 3854 34456") );
        startActivity(intent);
        
//        double lat = 44.640545;
//        double lon = 63.575897;
//        
//        Log.i("MAIN", "on click 'show-street-view'...");
//        Intent intent = new Intent(Intent.ACTION_VIEW);
//        Uri uri = Uri.parse("google.streetview:cbll=" + lat + "," + lon + "&cbp=1,180,,0,1.0");
//        intent.setData(uri);
//        startActivity(intent);
        

    }
    


        
    

	@Override
	public void onClick(View v) {
		
		
		
	}
}